package org.wwb.antbox.user.model.user.model;

import org.ant.commons.models.model.AbstractEditModel;
import org.wwb.antbox.user.model.user.entity.SysUser;

import java.util.Date;

/**
 * @Author Bond
 * @Date: 19-9-5 19:42
 * @Description: 更新系统用户在线总时长Model
 */
public class SysUserOnlineTimeModel extends AbstractEditModel<SysUser, String> {

    private static final long serialVersionUID = 3946203923836474411L;

    /** 最后活跃时间, 数据库字段：last_active_time */
    private Date lastActiveTime;

    /** 累计在线时长, 数据库字段：total_online_time */
    private Long totalOnlineTime;


    public Date getLastActiveTime() {
        return lastActiveTime;
    }

    public void setLastActiveTime(Date lastActiveTime) {
        this.lastActiveTime = lastActiveTime;
    }

    public Long getTotalOnlineTime() {
        return totalOnlineTime;
    }

    public void setTotalOnlineTime(Long totalOnlineTime) {
        this.totalOnlineTime = totalOnlineTime;
    }
}
